#ifndef ___SEQUENCE
#define ___SEQUENCE

//#define TEST_STAGES 13



typedef const struct SequenceType
{
	const unsigned int lenght;
	const unsigned char Compressor_freq;
	const unsigned int EEV_value;
	const unsigned char Fan_speed;
	const unsigned char Mode;
	const unsigned char* Message;
};

extern bank3 unsigned char job_selector;
extern const struct SequenceType DCI_TOSHIBA_6HP[];
extern const struct SequenceType DCI_HITACHI_5HP[];
extern const struct SequenceType DCI_HITACHI_4HP[];	
extern const struct SequenceType DCI_ELECTRA_4HP[];	
extern const struct SequenceType DCI_TOSHIBA_4HP[];
extern const struct SequenceType DCI_TOSHIBA_5HP[];
extern bit flag_sequence_running;
extern bit flag_sequence_finished;


extern int DoSequenceJob(const struct SequenceType*, struct PresetType*,const char** mmsg);
extern int GetSequenceDuration(const struct SequenceType*);
extern void SequenceStop(void);
extern void SequenceStart(void);
#endif
